<%--
  @author Tharanga Punchihewa
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<script type="text/javascript">
    $('.inputDates').DatePicker({
        format:'m/d/Y',
        date: $('#inputDate').val(),
        current: $('#inputDate').val(),
        starts: 1,
        position: 'right',
        onBeforeShow: function() {
            $('#inputDate').DatePickerSetDate($('#inputDate').val(), true);
        },
        onChange: function(formated, dates) {
            $('#inputDate').val(formated);
            if ($('#closeOnSelect input').attr('checked')) {
                $('#inputDate').DatePickerHide();
            }
        }
    });
</script>
<div id="land-registration-module-home-title" class="module-home-title">
    <s:a href="landInterestsForm.do"><img src="${pageContext.request.contextPath}/images/land-reg.png"
                                                 alt="Land Registration"><span><s:label
            value="Land Alienation"/></span></s:a>
</div>
<s:form action="" method="POST" id="land-alienation-from">
    <table class="width-100">
        <tr>
            <td>Alienation Reference</td>
            <td><s:textfield/></td>
        </tr>
        <tr>
            <td>Alienation Type</td>
            <td><s:textfield/></td>
        </tr>
        <tr>
            <td>Purpose of Alienation</td>
            <td><s:textfield/></td>
        </tr>
        <tr>
            <td>Alienation Act</td>
            <td><s:textfield/></td>
        </tr>
        <tr>
            <td>National Eligibility Criteria</td>
            <td><s:textfield/></td>
        </tr>
        <tr>
            <td>Alienation Workflow</td>
            <td><s:textfield/></td>
        </tr>
        <tr>
            <td>Initial Application Format</td>
            <td><s:textfield/></td>
        </tr>
        <tr>
            <td>Detailed Application Format</td>
            <td><s:textfield/></td>
        </tr>
        <tr>
            <td>Interim Format of the Agreement</td>
            <td><s:textfield/></td>
        </tr>
        <tr>
            <td>Final Format of the Agreement</td>
            <td><s:textfield/></td>
        </tr>
        <tr>
            <td></td>
            <td class="right-align"><s:a href="initLandAlienationMethods.do"><s:submit name="next"
                                                                                              value="%{getText('previous.label')}"/></s:a><s:submit
                    value="%{getText('submit.label')}"/></td>
        </tr>
    </table>
</s:form>